<div class="add-music center-box column">
    <h2 class="c48 mt20 f18">添加模板 </h2>
    <div class="w300 h140 center-box bcf3f mt30 cp" id="addTmpBox">
        <img src="./images/configManage/peizhiguanli_tianjai_ico.png" alt="" id="addIcon">
    </div>
        <div class="cover w300 h140 f20 cf" style="display: none;" id="cover">上传中……</div>
    <div class="center-box mt20">
        <span class="w60 f16">名称</span>
        <input type="text" class="form-control br30 h34 w210 mr10 " ng-model="data.templateName">
    </div>
    <div class="center-box mt10">
        <button class="h34 f16 w70 br30 g-btn mr20" ng-click="data.freeState = 0;" ng-class="{'c-btn':data.freeState == 0}" ng-init="data.freeState = 0">免费</button>
        <button class="h34 f16 w70 br30 g-btn" ng-click="data.freeState = 1;" ng-class="
        {'c-btn':data.freeState == 1}">付费</button>
        <span ng-show="data.freeState == 1"><input type="text" class="form-control  payval-input" ng-model="data.freeMoney"><span>元</span></span>
    </div>
    <div class="center-box mt50">
        <button class="h34 f16 w70 br5 g-btn" ng-click="close_modal()">取消</button>
        <button class="h34 f16 w70 br5 c-btn bcc cf ml30" ng-click="affirmAdd(data)">确认</button>
    </div>
</div>